#include<iostream>
using namespace std;
class Complex
{
private:
	float real;
	float imag;
public:
	Complex(float r = 0, float i = 0);
	void print();
	Complex operator+(const Complex& a);
	Complex operator+(float x);
	Complex operator++();
};